#include <stdio.h>

int main(void)
{
	int c;
	int variable;
	
	variable = ((c = getchar()) == EOF);
	
	putchar(c);
	printf("%d\n", variable);
	
	return 0;
 }